serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver
authorMarek Vasut <[email protected]>
Thu, 13 Sep 2012 14:51:02 +0000 (16:51 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:53:54 +0000 (11:53 -0700)
commite503f90a5764856b932aeaa9d66c60f037852557
tree388e722802bd8be25c249a1d2c444c79e4fce446
parentcfba4573f6cc2a888ae7ceab6bba3c3dab04f3dd
serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver

Implement support for CONFIG_SERIAL_MULTI into lpc32xx serial driver.
This driver was so far only usable directly, but this patch also adds
support for the multi method. This allows using more than one serial
driver alongside the lpc32xx driver. Also, add a weak implementation
of default_serial_console() returning this driver.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
common/serial.c
drivers/serial/lpc32xx_hsuart.c